home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / igo14.zip / HELPSCRN.IGO < prev    next >
Text File  |  1991-01-26  |  8KB  |  166 lines

  1.         1:
  2.  
  3.     writeln (cr,
  4. 'Usage:  ', PROGNAME, '  [-option [name [path]] | name]', cr, cr,
  5. 'where the "option" is one of the commands listed below.  The "name" and', cr,
  6. '"path" values are optional depending upon the "option".',cr, cr,
  7. '       name            Go to the location referred to by the "name" in the', cr,
  8. '                       alias location file.  If the name has a "\" or ":" in', cr,
  9. '                       the "name" is assumed to be an actual path.', cr,
  10. '   -a  name  path      Add the "name" to the alias location list.', cr,
  11. '   -d  name            Delete the "name" from the alias location list.', cr,
  12. '   -u  name  path      Update the "name"; if it doesnt exist, add it.', cr,
  13. '   -l [name]           List the optional name; no name means ALL names.', cr,
  14. '   -s [name]           Save the current path and, if the "name" appears,', cr,
  15. '                       go to that location.', cr,
  16. '   -r                  Return to the previously saved directory.', cr,
  17. '   -c [name]           Clear out the last path and optionally go to the', cr,
  18. '                       named location.  -C- says don', '''', 't clear the location.', cr,
  19. '   -v-                 "-v+" means verbose while "-v-" means quiet (default).', cr,
  20. '   -f filename         Find the "filename" and go to that directory. If there', cr,
  21. '                       is more than one file by the name found, you choose.'
  22.             );
  23.  
  24.         2:
  25.  
  26.     writeln (cr,
  27. PROGNAME, ' is a simple program to help you move around your hard disk.  Many', cr,
  28. 'of us do not use the full capabilities of the directories available to us with', cr,
  29. 'the PC.  The reason?  Several levels of subdirectories can produce very long', cr,
  30. 'names that are difficult to remember and annoying to type all the time.', cr,
  31. cr,
  32. PROGNAME, ' is designed to help you with this problem by allowing you to define', cr,
  33. 'a "name" or alias to be associated with the actual directory path name.  Now,', cr,
  34. 'you can create several levels of directories to organize your files and still', cr,
  35. 'refer to them by short, easy to remember names.  You choose the name and tell', cr,
  36. PROGNAME, ' which directory path is assigned to that name.', cr,
  37. cr,
  38. PROGNAME, ' will also save the name of the "current" directory before moving to the', cr,
  39. 'new location you have requested.  Later, you can simply tell ', PROGNAME, ' to return', cr,
  40. 'to the previously saved location and ', PROGNAME, ' will take you there.  Only one', cr,
  41. 'location can be saved at a time.', cr,
  42. cr,
  43. 'If you give ', PROGNAME, ' a directory name (with a \ or : in it), ', PROGNAME, ' will attempt to', cr,
  44. 'move to that directory.  If you do not provide an initial "\" ', PROGNAME, ' will try', cr,
  45. 'to move into a subdirectory of the current directory.  If this doesn', '''','t work,', cr,
  46. PROGNAME, ' will try the same thing from the root of the disk.'
  47.             );
  48.  
  49.         3:
  50.     writeln (cr,
  51. 'You can use ', PROGNAME, ' to navigate around floppy drives just as easily as your', cr,
  52. 'hard disk.  ', PROGNAME, ' doesn', '''', 't care about the drive unless you save a "name"', cr,
  53. 'and "path" with a "\" as the initial character (or you specify the drive', cr,
  54. 'letter in the path.', cr,
  55. cr,
  56. 'To move to another directory, you would enter:   ', PROGNAME, ' -s BIN', cr,
  57. cr,
  58. 'where the "-s" tells ', PROGNAME, ' to save the current location before moving to the', cr,
  59. 'BIN directory.', cr,
  60. cr,
  61. 'To return to the saved location, simply enter:   ', PROGNAME, ' -r', cr,
  62. cr,
  63. 'The "-r" says to return to the saved location.  You could reset (-c-) to keep', cr,
  64. 'the saved path name (ie: don', '''', 't clear the ', PROGNAME, '.LOC file).  ',
  65.                 PROGNAME, ' finds it', '''', 's .LOC', cr,
  66. 'and .DIR files by looking for a DOS vabriable called "', PROGNAME, '" or searching', cr,
  67. 'through the current PATH.', cr,
  68. cr,
  69. 'Read through the next page for more information about some pre-defined names', cr,
  70. 'available from ', PROGNAME, '.'
  71.             );
  72.  
  73.         4:
  74.  
  75.     writeln (cr,
  76. PROGNAME, ' provides a series of special pre-defined alias names to help you move', cr,
  77. 'about.  These names include:', cr, cr,
  78. '   BOOT                Move to the boot disk location as specified by the', cr,
  79. '                       COMSPEC enviromnent specification (found in your', cr,
  80. '                       CONFIG.SYS file).', cr,
  81. '   ROOT                Move to the "root" directory of the current disk;', cr,
  82. '                       this has the same effect of specifying "\" by itself.', cr,
  83. '   UP                  Move "up" to the parent directory.  You can also specify', cr,
  84. '                       ".." or "off".', cr,
  85. '   OVER directory      Move "up" to the parent directory and "down" into the', cr,
  86. '                       "directory" name specified.', cr,
  87. cr,
  88. 'So, you can use the command "', PROGNAME, ' OVER games" to move from your current', cr,
  89. 'directory up one level and down into the "games" directory.'
  90.             );
  91.  
  92.         5: begin
  93.     writeln (cr,
  94. 'Some software asks you to set a DOS "environment variable" to tell the program', cr,
  95. 'where to find the files for that program.  These values are set using the SET', cr,
  96. 'command (eg: SET PCOM=D:\PCOM10).  You can tap into these pre-set locations', cr,
  97. 'with the "%...%" syntax.  This idea is borrowed from the BATch language; to use', cr,
  98. 'one of these variables in a BAT program, you must start and end it with a', cr,
  99. 'percent sign (%).', cr,
  100. cr,
  101. 'So.  By asking ', PROGNAME, ' to go to %PCOM%, you are actually asking to be taken', cr,
  102. 'to the D:\PCOM10 directory...', cr,
  103. cr,
  104. 'Oh yes, if the destination directory does not exist ', PROGNAME, ' will not do anything.', cr,
  105. 'You will simply remain in the current directory.', cr,
  106. cr,
  107. cr,
  108. 'You can also go to a directory based on the location of a given file.  Using', cr,
  109. 'the -F option, you can specify the name of a file (no wildcards allowed).', cr,
  110. PROGNAME, ' will look for the file and, if found, take you to that directory.  Pressing', cr,
  111. 'ESC stops the search.  If more than one file by the name specified exists, ', PROGNAME, cr,
  112. 'will ask you which one is appropriate.'
  113. );
  114.            end;
  115.  
  116.         6: begin
  117.     writeln (cr,
  118. 'If ', PROGNAME, ' encounters an error, a message will be displayed AND a return code', cr,
  119. 'will be set which you can check from a BATch program.  After running ', PROGNAME, cr,
  120. 'you can check the ERRORLEVEL to see what happened.  If the ERRORLEVEL is 0,', cr,
  121. 'everything worked as expected.  Otherwise, some kind of problem was ', cr,
  122. 'encountered:', cr,
  123. cr,
  124. '  1 = Command line error                   2 = Basic initialization error', cr,
  125. '  3 = Parsing error/unexpected input       4 = Action request conflict', cr,
  126. cr,
  127. ' 11 = No path provided                    12 = Found %..% but no value SET', cr,
  128. ' 13 = \ or : found in name for Add, etc.', cr,
  129. cr,
  130. 'Remember, ERRORLEVEL returns true if the value is greater than or equal to', cr,
  131. 'the check number.  EG: IF ERRORLEVEL 5 ... will return true if >= 5.', cr,
  132. cr,
  133. 'Thus, IF NOT ERRORLEVEL 1 is true all is well.'
  134. );
  135.            end;
  136.  
  137.         7: begin
  138.  
  139.     writeln (cr,
  140. PROGNAME, ' stores the list of alias', '''', ' in a file called ', ALIASFILE, ' which',
  141. ' you can edit', cr,
  142. 'and change yourself AS LONG AS THE COLUMN SPACING IS MAINTAINED.', cr,
  143. cr,
  144. 'The previously saved directory location is stored in a file called ', LOCFILE, cr,
  145. 'which simply contains the name of the directory where you were located when ', PROGNAME, cr,
  146. 'was asked to save the location (using the -S option).', cr,
  147. cr,
  148. 'Both files will be found wherever the ', PROGNAME, '.EXE file is located.  You may' ,cr,
  149. 'install this program in any directory on your disk so long as it is in the ', cr,
  150. 'search path (found by entering PATH at the DOS prompt).  If ', PROGNAME, ' is not in the', cr,
  151. 'search PATH, you won', '''', 't get to your destination.'
  152.             );
  153.  
  154. {$IFDEF SHAREWARE}
  155.     gotoxy (1, 16);
  156.     writeln (
  157. '                   SUPPORT SHAREWARE - REGISTER TODAY !!!', cr,
  158. cr,
  159. 'This software is distributed as SHAREWARE; use it and pass it to your friends.', cr,
  160. 'If you have any suggestions to improve ', PROGNAME, ' let us know & we will try to oblige.', cr,
  161. cr,
  162. SHAREWARE, cr,
  163. '                  ', ADDRESS
  164.             );
  165. {$ENDIF}
  166.